//-----------------------------------------------------------------------
// <copyright file="UnitTypeBase.cs" company="FetCo">
//     Copyright (c) FetCo. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ADESSA.Entities
{
	[Serializable]
	public class UnitTypeBase
	{
		
		#region Variable Declarations
		public static string _Table = "UnitType";
		private long				unitTypeId = 0;
		private string				name = string.Empty;
		private long				enable = 0;
		private long				order = 0;
		#endregion
		
		#region Constructors
		public UnitTypeBase() {}
		
		public UnitTypeBase (
			long unitTypeId,
			string name,
			long enable,
			long order)
		
		{
			this.unitTypeId = unitTypeId;
			this.name = name;
			this.enable = enable;
			this.order = order;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long UnitTypeId
		{
			get { return unitTypeId; }
			set { unitTypeId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Name
		{
			get { return name; }
			set { name = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Enable
		{
			get { return enable; }
			set { enable = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Order
		{
			get { return order; }
			set { order = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum UnitTypeColumns
	{
		UnitTypeId,
		Name,
		Enable,
		Order
	}//End enum
}